<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<h1>更新汽车新数据</h1>
	<form action="car_update_handler" method="post" id="fom">
		<input type="hidden" name="c_id" value="<%=data[0].c_id%>">
	品牌 <select name="c_band" id="">
			
			<option value="吉利">吉利</option>
			<option value="本田">本田</option>
			<option value="福特">福特</option>
			<option value="长城">长城</option>
		</select><br>
		颜色: 
			红色 <input type="radio" name="c_color" value="1">
			绿色 <input type="radio" name="c_color" value="2">
			黑色 <input type="radio" name="c_color" value="3">
		价格:
			<input type="text" name="c_price">

			<input type="submit" value="确认修改">

	</form>

	<script>
		var fom = document.getElementById('fom');
		fom.c_band.value = "<%=data[0].c_band%>";
		fom.c_color.value = "<%=data[0].c_color%>";
		fom.c_price.value = "<%=data[0].c_price%>";
	</script>
</body>
</html>